import type { ResponseOption } from "../../res/ResponseOption.js";
import { fields, ResOp } from "./utils.js";

export const closeResponse: ResponseOption = {
    name: "0x00 00 关闭连接",
    description: "连接关闭的原因",
    fields: [
        fields.op(ResOp.Close),
        fields.crc,
        fields.length,
        {
            name: "错误原因",
            kind: "string",
        },
    ],
};
